ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Programming (Section 14 - No. 4)

What is the purpose of the line: `ClassHigh = 0` in the beginning of the provided code example?
To initialize the variable ClassHigh.
To calculate the average mark.
To assign a value to NumOfStudents.
To clear the value of StudentHigh

Paliwanag

It initializes the variable before the program begins calculations.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc